import pyautogui
from pyautogui import click

# from pywinauto.mouse import click

# img_location = pyautogui.locateAllOnScreen('./2.png', confidence=0.9)
# print(img_location)
# for i in img_location:
#     print(i)
img_location = pyautogui.locateOnScreen('./2.png',minSearchTime=10, confidence=0.9)
print(img_location)
img_location = pyautogui.locateCenterOnScreen('./autosmoke.png', confidence=0.9)
print(img_location)

# print(imglocation[0], imglocation[1])
# click(img_location[0], img_location[1])
# print(imglocation, '11111111111')
# pyautogui.moveTo(400, 400)
# print(pyautogui.position())
# exit()
